package com.example.springblog.constant;

public class Constants {
    public static final int RESULT_CODE_SUCCESS = 200;
    public static final int RESULT_CODE_FAIL = -1;
    public static final int RESULT_CODE_UNLOGIN = -2;
    public static final int CAPTCHA_WIDTH = 105;
    public static final int CAPTCHA_HEIGHT = 35;
    public static final int CAPTCHA_CODE_COUNT = 4;
    public static final int CAPTCHA_THICKNESS = 4;
    public static final long EXPIRATION_TIME = 60 * 1000;
    public static final String CAPTCHA_KEY = "captcha";
    public static final String CAPTCHA_DATE = "date";
    public static final String REQUEST_HEADER_TOKEN = "user_token_header";
    public static final String TOKEN_ID = "id";
    public static final String TOKEN_USERNAME = "userName";

}
